﻿using System;
using System . Collections . Generic;
using System . Linq;
using System . Text;
using System . Threading . Tasks;
using System . Xml . Linq;

namespace GameClassLibrary . Maps
{
    public class Building : MapObject
    {
        public virtual Area Place { get;  set; }

        public Players . Player Owner
        {
            get
            {
                return Place . Owner;
            }
        }

        public virtual int Grade { get;  set; }

        public virtual void Upgrade ( )
        {

        }

        public virtual void Crossed ( Players . Player player )
        {

        }

        public override void UpdateView ( )
        {
            throw new NotImplementedException ( );
        }

        public override void NextDay ( )
        {
            throw new NotImplementedException ( );
        }

        public Building ( XElement saving ) : base ( saving )
        {


        }

        public override XElement Save ( )
        {
            throw new NotImplementedException ( );


        }


    }
}
